package com.neardrug.mapper;

import com.neardrug.entity.Images;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ImagesMapper {

    void insert(List<Images> imagesList);

    @Select("select * from tb_images where task_id=#{taskId}")
    List<Images> selectByTaskId(Integer taskId);

    @Select("select img from tb_images where id=#{id}")
    String testSelect(Integer id);
}
